﻿using Coldairarrow.Entity.Goods;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    public class browseDTO
    {
        /// <summary>
        /// id
        /// </summary>
        public String id { get; set; }

        /// <summary>
        /// userid
        /// </summary>
        public String userid { get; set; }

        /// <summary>
        /// Goodsid
        /// </summary>
        public String Goodsid { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Editor
        /// </summary>
        public String Editor { get; set; }

        /// <summary>
        /// EditTime
        /// </summary>
        public DateTime? EditTime { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        [NotMapped]
        public string Pic { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        [NotMapped]
        public decimal Price { get; set; }
        public IEnumerable<BTB_Goods> Goods { get; set; }
        public IEnumerable<BTB_GoodsType> type { get; set; } 
    }
}
